.home-container {
  width: 100%;
  height: 100%;
  background-color: #f0f2f5;
  padding: 10px;
}

.navbar-container {
  min-width: 100%;
  margin-bottom: 15px;
}

.content-container {
  padding: 10px;
}

.card-row {
  margin-bottom: 20px;
}

/* 卡片通用样式 */
:deep(.el-card) {
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

:deep(.el-card:hover) {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.card-header {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.card-title {
  font-size: 20px;
  font-weight: bold;
  color: #303133;
  position: relative;
  padding-left: 12px;
}

.card-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background-color: #409EFF;
  border-radius: 2px;
}

.card-header-extra {
  float: right;
  display: flex;
  align-items: center;
}

.stat-info {
  font-size: 14px;
  color: #606266;
  margin-left: 15px;
}

.sync-file-info {
  font-size: 14px;
  color: #409EFF;
  margin-left: 10px;
  display: inline-block;
}

.sub-info {
  margin-left: 10px;
  color: #909399;
}

.card-body {
  padding: 10px 0;
}

/* 同步卡片样式 */
.sync-card {
  height: 350px;
}

.sync-info {
  padding-right: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.sync-info .el-row {
  margin-bottom: 15px !important;
}

/* 新增样式：纵向标签样式 */
.status-tag {
  margin-bottom: 15px !important;
  width: 100%;
}

.status-tag .el-tag {
  width: 100%;
  display: block;
  text-align: center;
  padding: 0px 5px;
  font-size: 14px;
  line-height: 20px;
  height: auto;
  margin-bottom: 5px;
}

/* 调整图表容器样式 */
.gauge-container {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  cursor: pointer;
}

.gauge-chart {
  height: 100%;
  width: 100%;
  min-height: 230px;
}

/* 调整同步信息和图表的整体布局 */
.sync-card .el-row .el-col-20 {
  width: 83.33% !important;
}

.sync-card .el-row .el-col-4 {
  width: 16.67% !important;
}

.label {
  font-weight: bold;
  color: #606266;
}

.value {
  color: #409EFF;
  font-weight: bold;
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 历史同步卡片样式 */
.history-card {
  height: 650px;
}

.filter-options {
  margin-bottom: 10px;
}

.history-chart {
  height: 470px;
  width: 100%;
}

/* 磁盘空间卡片样式 */
.disk-card {
  height: 320px;
}

.disk-row {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.disk-col {
  text-align: center;
}

.disk-label {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: bold;
}

.clean-btn {
  margin-top: 10px;
}

/* 时间卡片样式 */
.time-card {
  height: 300px;
}

.time-display {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.time-block {
  text-align: center;
  position: relative;
  margin: 0 5px;
}

.time-value {
  display: flex;
  justify-content: space-around;
}

.time-digit {
  background: linear-gradient(135deg, #409EFF 0%, #66b1ff 50%, #409EFF 100%);
  color: white;
  font-size: 48px;
  font-weight: bold;
  display: inline-block;
  width: 60px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  border-radius: 8px;
  margin: 0 2px;
  position: relative;
  box-shadow: 0 4px 8px rgba(64, 158, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.time-digit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}

.time-digit::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: 0 0 8px 8px;
  pointer-events: none;
}

.time-digit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(64, 158, 255, 0.4);
}

.time-label {
  font-size: 20px;
  font-weight: bold;
  margin-top: 15px;
}

.time-separator {
  font-size: 48px;
  font-weight: bold;
  color: #409EFF;
  margin: 0 10px;
  line-height: 80px;
}

/* 同步详情对话框样式 */
:deep(.sync-details-dialog .el-dialog__body) {
  padding: 10px 20px;
}

:deep(.sync-details-dialog .el-dialog) {
  margin-top: 5vh !important;
}

:deep(.sync-details-dialog .el-table) {
  font-size: 13px;
}

:deep(.sync-details-dialog .el-table th) {
  padding: 8px 0 !important;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

:deep(.sync-details-dialog .el-table td) {
  padding: 6px 0 !important;
  font-size: 12px;
}

:deep(.sync-details-dialog .el-table .cell) {
  line-height: 1.2;
  padding: 0 8px;
}

:deep(.sync-details-dialog .el-tag--mini) {
  height: 20px;
  line-height: 18px;
  font-size: 11px;
  padding: 0 4px;
}

.filter-bar {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f5f7fa;
  border-radius: 4px;
}

.pagination-container {
  margin-top: 15px;
  text-align: right;
}

/* 添加图表对话框样式 */
:deep(.chart-dialog .el-dialog__body) {
  padding: 20px;
  height: 600px;
}

:deep(.chart-dialog .el-dialog__header) {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

:deep(.chart-dialog .el-dialog) {
  margin-top: 5vh !important;
}

:deep(.chart-dialog .el-dialog__body #echartsGras3-large),
:deep(.chart-dialog .el-dialog__body #echartsGras4-large),
:deep(.chart-dialog .el-dialog__body #echartsGras5-large) {
  width: 100%;
  height: 100%;
}

.status-tag-highlight {
  opacity: 1;
  filter: none;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  transition: all 0.3s;
}

.status-tag-dim {
  opacity: 0.4;
  filter: grayscale(60%);
  font-weight: normal;
  box-shadow: none;
  cursor: default !important;
  pointer-events: none;
  transition: all 0.3s;
}

